﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GeneralAdaptiveFramework
{
    class Program
    {
        static void Main(string[] args)
        {
            Application.Run(new MainLoader());
//            CMSInterface manager = new ComponentMgr();
//            manager.addComponent("C:\\Users\\diepbp\\Documents\\Visual Studio 2010\\Projects\\GeneralAdaptiveFramework\\MainTest\\TestComponent01.dll", "TestComponent01");
//            manager.addComponent("C:\\Users\\diepbp\\Documents\\Visual Studio 2010\\Projects\\GeneralAdaptiveFramework\\MainTest\\TestComponent02.dll", "TestComponent02");
//            //Component testComponent01 = new TestComponent01("TestComponent01");
//            //Component testComponent02 = new TestComponent02("TestComponent02");
//#if DEBUG
//            //manager.addComponent(testComponent01);
//            //manager.addComponent(testComponent02);
//            manager.connectComponent("TestComponent01", "TestComponent02", "provider01", "require03");
//            manager.disconnectComponent("TestComponent01", "TestComponent02", "provider02", "require03");

//            //testComponent01.transfer("send data", "provider01");
//#endif
        }
    }
}
